Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA Namespace Reference
[AgentRunnerUtilitiesUtilities]


Compounds

class  AcceptorPolicy
 This class is used to determine if a MessageHandle comming into a MessageObserver should be accepted or not. More...

class  ActiveTokenDecisionPoint
class  Agent
 A meta-class orhestrating the initialization of all potential modules of an IDEA-agent. More...

class  AgentCommandLineParser
 Defines the (optional) command line options of an IDEA agent. More...

class  AgentFactory
 Factory class for several agent-modules. More...

class  AgentImpl
 Implementation of the Agent class. More...

class  AgentRelay
 The singleton AgentRelay is responsible for relaying messages through the system. More...

class  AgentTimingService
 This class provides all timing-related issues for the agent. More...

class  AgentTimingServiceFactory
class  AgentTimingServiceImpl
 Implementation class of the AgentTimingService. More...

class  BoomerangRelay
 The Boomerang relay will relay any messages right back into the agent the messages are coming from. More...

struct  BranchPoint
class  CommandLineArguments
 Wrapper to maintain the command-line arguments and make them accessable throughout the process. More...

class  CommandLineParser
 Base class for command-line parsing. One can extend the class and use registerOption to add command-line options and implement parseInternal (or use getOption) to retrieve the options. More...

struct  CompareFunc
 Binary-function comparing two Time instances returns true if time1 is strictly earlier than time2. More...

class  ComRelay
 The ComRelay is responsible for sending and receiving messages from and to the 'outside' world and relaying the messages to and from the AgentRelay instance. More...

class  DatabaseOutputFilterReader
 This class reads input files which define which objects and attributes to show when PslDatabase::print is invoked. More...

class  DefaultReactor
 Implements the 'default' reaction to an incoming message. More...

struct  earlierTime
 Earlier time binary predicate returning a boolean on MessageHandle instances. More...

struct  earliestStarTimeToken
struct  EarliestTimeFirst
 EarliestTimeFirst, compares two Time and returns true if the lhs is earlier than the rhs. More...

class  Error
class  Factory
 Factory base class. More...

class  GoalLoaderDecisionManager
class  GoalTokenDecision
class  Guard
 This data structure is meant to be used within a method or function. It performs automatic aquisition and release of a parameterized synchronization object <LOCK>. More...

class  IPCCommunicationRelay
class  IPCCommunicationRelayListener
 Listens to the IPC central if messages have arrived, managed by IPCRelay instances. More...

struct  IPCObjectStructure
 Data-structure for an object message compatible with IPC and equivalent to ObjectMessageData. More...

class  IPCRelay
 An implementattion of a communication relay using IPC, Inter Process Communication, from CMU, Shool of Computer Science / Robotic Institute. More...

class  IPCRelayListener
 Listens to the IPC central if messages have arrived, managed by IPCRelay instances. More...

struct  IPCStartStructure
 Data-structure for a start message compatible with IPC and equivalent to StartMessageData. More...

struct  IPCStatusStructure
 Data-structure for a status message compatible with IPC and equivalent to StatusMessageData. More...

struct  IPCStopStructure
 Data-structure for a stop message compatible with IPC and equivalent to StopMessageData. More...

struct  IPCTelemetryStructure
 Data-structure for a telemetry message compatible with IPC and equivalent to TelemetryMessageData. More...

struct  IPCValueStructure
 Data-structure for a value message compatible with IPC and equivalent to ValueMessageData. More...

class  LockTrace
 The (ACE) singleton class LockTrace traces the locking and unlocking of mutexes. Tracing the locking can be turned of by defining the identifier TRACE_LOCKS. TRACE_LOCKS can be defined with a -D command-line option for the compiler or with a define directive. More...

class  MessagFactory
 Creates instances of messages for sending out. More...

class  MetaTimingService
 The meta timing service orhestrates multiple timing services to run in sync. More...

class  NoResponse
class  Option
 Internal class for storing registered command-line options. More...

class  Planner
class  PlannerFactory
class  PlannerHorizonPolicy
 Invoke by the planner to set the horizon of the planner. More...

class  PlannerImpl
struct  Plan
struct  EndsBeforeStartConstraint
struct  EnergyBranch
class  GoalPlanner
 Deliberative planner which loads the goals and plans over them. More...

class  HorizonPolicy
struct  ObjectData
class  IValue
struct  laterTime
 Later time binary predicate returning a boolean on MessageHandle instances. More...

class  Message
 This class is the base class for all messages. More...

class  MessageData
 Prototype implementation for messages. More...

class  MessageDataBase
 Base class for every MessageData class, stores the location of the token initiating the message, the location the message is supposed to be going and the name of the token initiating the message. More...

class  MessageFactory
class  MessageHandle
 This class is handle to a Message instance. More...

class  MessageObserver
 This class is a base abstract class that allows the user to implement an observer on instances of MessageHandle. More...

class  ObjectMessageData
 Data to send object messages. More...

class  PlanReader
 Interface between a plan file reader and a Goal Loader. It is independent of the file format and the Plan Database. More...

class  PlasmaAgentFactory
 Factory class for an Agent creating a PlasmaAgentImpl. More...

class  PlasmaAgentImpl
class  PlasmaArgumentImpl
 See PslArgument for API documentation. More...

class  PlasmaAttributeCondition
class  PlasmaAttributeImpl
 See PslAttribute for API documentation. More...

class  PlasmaCommandLineParser
class  PlasmaCommandLineParserImpl
 Defines additional command-line options required to run an agent using EUROPA-2. These additional command-line options are:. More...

class  PlasmaConstraintEngineListener
class  PlasmaConstraintImpl
class  PlasmaDatabaseImpl
class  PlasmaDecisionManagerListener
 Generates output during the execution of PlasmaPlannerImpl. More...

class  PlasmaFactory
class  PlasmaFunction
 This class is designed to work on the derived domain of a EUROPA-variable outside the context of a EUROPA::Constraint. More...

class  PlasmaGoalInternalPlannerImpl
class  PlasmaGoalPlanner
 First it will make decisions to insert new goal tokens from 'planBranch', because GoalLoaderDecisionManager will create token decision points for the goal tokens. One planner step per goal. First token on a timeline is merged with existing token, other are activated. There's currently no way to merge with tokens other then the first one. Then it will plan over new goals (create subgoals, etc.). If goal loading failes due to a mismatch between supplied goals and the model or the current state of the plan DB, we should backtrack and delete goal tokens inserted so far from the plan database. More...

class  PlasmaInitialStateLoaderImpl
 See PslInitialStateLoader for API documentation. More...

class  PlasmaLabelSetImpl
 See PslLabelSet for API documentation. More...

class  PlasmaNumericLimitsImpl
 See PslNumericLimits for API documentation. More...

class  PlasmaObjectClassImpl
 See PslObjectClass for API documentation. More...

class  PlasmaObjectImpl
 See PslObject for API documentation. More...

class  PlasmaObservedConstraintImpl
class  PlasmaOpenDecisionManager
class  PlasmaParameterImpl
 See PslParameter for API documentation. More...

class  PlasmaPlanDatabaseListener
 See PslDatabase for API documentation. More...

class  PlasmaPlannerFactory
 Factory class for PLASMA planner instances. More...

class  PlasmaPlannerImpl
class  PlasmaPredicateImpl
 See PslPredicate for API documentation. More...

class  PlasmaReactivePlannerFactory
class  PlasmaReactivePlannerImpl
class  PlasmaReactivePlannerParser
class  PlasmaReturnFlagReceivedConstraintImpl
class  PlasmaSuccessorSelectorCondition
class  PlasmaTimeConstraintImpl
class  PlasmaTimelineImpl
 See PslTimeline for API documentation. More...

class  PlasmaTokenImpl
 See PslToken for API documentation. More...

class  PlasmaVariableCondition
class  PlasmaVariableDecisionPoint
class  PlasmaVariableImpl
 See PslVariable for API documentation. More...

union  PossibleTypes
class  Prototype
 Specifies the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype. More...

class  PslArgument
 A PslArgument is used to define a PslPredicate. See Argument Definitions and XIDDL Procedures. More...

class  PslArgumentImpl
 See PslArgument for API explenation. More...

class  PslAttribute
 Abstraction representing one attribute (timeline) in the domain model. See XIDDL Objects. More...

class  PslAttributeImpl
 See PslAttribute for API documentation. More...

class  PslConstant
 This class is used to store constants see XIDDL Constants. More...

class  PslConstantImpl
 See PslConstant for API documentation. More...

class  PslConstraint
 An instance of PslConstraint represents a relation between plan-server objects which need to maintained true by the underlying plan-data-base when activated. More...

class  PslConstraintImpl
 See PslConstraint for API documentation. More...

class  PslDatabase
 Maintains all the PlanServer instances. More...

class  PslDatabaseImpl
 See PslDatabase for API documentation. More...

class  PslDomain
 Defines the domains of values of different type instances. More...

class  PslDomainImpl
 See PslDomain for API documentation. More...

class  PslInitialStateLoader
 The initial state loader loads an initial state from a file into a PslDatabase instance. More...

class  PslInitialStateLoaderImpl
 See PslInitialStateLoader for API documentation. More...

class  PslLabelSet
 Abstraction which represents a set of labels (symbols) in the model. More...

class  PslLabelSetImpl
 See PslLabelSet for API documentation. More...

class  PslModelManager
 The model manager contains and loads all the static data of the XIDDL model. More...

class  PslModelManagerFactory
 Class makes instances of associated with the PslModelManager, factory pattern. More...

class  PslModelManagerImpl
 See PslModelManager for API documentation. More...

class  PslNumericLimits
 Singleton class defining some numerical limits of the underlying database. More...

class  PslNumericLimitsImpl
 See PslNumericLimits for API documentation. More...

class  PslObject
 Abstraction representing one object. More...

class  PslObjectClass
 Abstraction that represents a family of objects in the domain model. More...

class  PslObjectClassImpl
 See PslObjectClass for API documentation. More...

class  PslObjectImpl
 See PslObject for API documentation. More...

class  PslObservedConstraintImpl
 This constraint defines the invariant between the observed value of a parameter and the expected/planned/scheduled value of the parameter. This constraint states that the expected/planned/scheduled value always must be an intersection of the observed value. More...

class  PslOutputFilter
 Controlls what's printed by the PslDatabase (which objects) and PslObject (which timelines). More...

class  PslParameter
 A parameter is an instance of an argument in the context of an instance of a PslToken. More...

class  PslParameterImpl
 See PslParameter for API documentation. More...

class  PslPredicate
 Interface abstraction for a predicate. This class implements the Abstraction portion of the Bridge design pattern (GoF p. 151). Constructors are public, but dispatch to an abstract factory to construct the implementation object. More...

class  PslPredicateImpl
 See PslPredicate for API documentation. More...

class  PslReturnReceivedConstraintImpl
 Constraint used by PslParamater instances to enforce received values into the planned values. More...

class  PslTimeConstraintImpl
 The time-out constraint maintains the constraint on a token it can not take place in the past. The current time comes from the PslDatabase instance associated with the invoking token. More...

class  PslTimeConverter
 PlanServer The PslTimeConverter converts time (Time) representation of the agent into an integer and vice versa. The integer is the representation used to store the values in the plan database. More...

class  PslTimeConverterImpl
 Converts time (Time) representation of the agent into an integer and vice versa. The integer is the representation used to store the values in the plan database. More...

class  PslTimeline
 PslTimeline is an instance of PslAttribute associated with a PslObject an instance of PslObjectClass. More...

class  PslTimelineImpl
 See PslTimeline for API documentation. More...

class  PslToken
 A token. More...

class  PslTokenImpl
 See PslToken for API documentation. More...

class  PslTrace
 Special trace class for the planserver. More...

class  PslTrueFalseVariable
 A PslTrueFalseVariable is a variable which can be used to flip-flop between states without triggering re-propation. One state of the variable is 'true' and the other state is 'false'. Typically going from one grounded state to another grounded state on a PslVariable can be very speed-inefficient. More...

class  PslVariable
 Interface abstraction for variables. More...

class  PslVariableImpl
 Virtual base class for all domain implementation classes. More...

class  ReactivePlanner
class  ReactivePlannerFactory
 Factory class for creating a ReactivePlannerImpl instance. More...

class  ReactivePlannerImpl
class  ReactivePlannerRunner
class  ReactivePlannerUpdatePolicy
 This class defines the update-policy of the ReactivePlanner (MessageObserver) the following way:
  • The messages in the queue can only be updated by an external trigger (timing-service event received by the reactive-planner)
  • All messages in the queue that have an arrival time (MessageHandle::gettTime) before the ReactivePlannerUpdatePolicy::m_CurrentTick will be updated after an explicit trigger (startUpdating).
More...


class  Reactor
 A Reactor is the base class where messages of all types can be re-directed to by the AgentRelay. More...

class  RegisterIPCCommunicationRelay
 Helper class for registering and instance of IPCCommunicationRelay to the singleton MetaTimingService. More...

class  RegisterIPCRelay
class  RegisterReactivePlanner
struct  RegisterStructure
class  ResponseBase
class  ResponseMessageFactory
class  ReturnReceivedConstraint
class  SharedTimingService
 This class is responsible for maintaining all the data that is shared among all the AgentTimingService instances in different processes. More...

class  SharedTimingServiceFactory
 Factory class for an AgentTimingServiceImpl creating a SharedTimingServiceImpl. More...

class  SharedTimingServiceImpl
 The SharedTimingServiceImpl is the implementation part of the AgentTimingService (bridge-pattern aka pimpl). This implementation implements the AgentTimingService using shared-memory (SharedTimingService). More...

class  ShutdownReactor
 Implements a Reactor which will stop the agent (Agent::instance). More...

class  SimScriptReader
class  Simulator
class  SimulatorData
class  SimulatorDataBase
class  SimulatorMessage
class  SimulatorResponseScheduler
 This class will handle the incomming messages from differentd agent and schedule responses. More...

class  SimulatorScriptReader
class  SimulatorScriptReaderBase
 Base class for script readers. More...

class  SimulatorTimingServiceHandler
class  Singleton
 This template class pattern provides a traditional Singleton pattern (see GoF). Allows you to designate a single-instance global class by inheriting off of the template class. More...

class  StartMessageData
 Data to send start message. More...

class  StatusMessageData
 Data to send status message. More...

class  StatusStartResponse
class  StopMessageData
 Data to send stop message. More...

class  TelemetryMessageData
 Data to send telemetry message. More...

class  ThreadNames
 Singleton class for threads to map a thread to a string for tracing purposes. More...

class  ThreadSafeQueue
 A thread-safe-priority-queue is a thread-safe implementation of the STL-priority-queue. More...

class  Time
 Internal IDEA time representation. More...

struct  TimeBranch
class  TimeConstraint
class  TimeEventHandler
 Virtual functor class which defines what to do when the TimingService wakes up the Agent. More...

struct  TokenData
 All information about a token - name, args, time points. More...

class  TimeParser
 Used to convert human readable local time to Epoch time and vice versa. More...

class  TimerHandler
 Event handler for timer-events. More...

class  TimingService
 The TimingService is the 'central' place of time for all agents on one machine. Will activate/wake-up agents at certain times based upon information from these agents. The communication of this information is done via shared (between processes) memory. We have a central notion time in specific for debugging reasons so we can warp time and scale time. More...

class  TimingServiceStopper
 Event handler for stopping the timing-service (loop). More...

class  TokenLocation
 Location of a token consisting out of the agent-name, object-class-name and attribute-name. More...

class  Trace
 Output management class. More...

struct  TrackingBranch
class  UpdatePolicy
 The update-policy defines when a MessageObserver starts and ends updating messages. More...

class  Value
class  ValueMessageData
 Data to send a value message. More...

class  ValueStartResponse
 Stores information on what kind of message to create for messages coming in. More...

struct  WarpStructure
class  XercesModelLoader
 XIDDLModelLoader implementation using Xerces-C++ parser. More...

class  XercesModelLoaderFactory
class  XIDDLErrorHandler
 Error handler for the DOM-parser. More...

class  XIDDLModelLoader
 See PslModelLoader for API documentation. More...

class  XIDDLModelLoaderFactory
 Factory class for creating the XIDDLModelLoader. More...


Typedefs

typedef std::list< MessageData * > MessageDataList
typedef Message ObjectMessage
 Deprecated type, use Message instead.

typedef Message StartMessage
 Deprecated type, use Message instead.

typedef Message StatusMessage
 Deprecated type, use Message instead.

typedef Message StopMessage
 Deprecated type, use Message instead.

typedef Message TelemetryMessage
 Deprecated type, use Message instead.

typedef Message ValueMessage
 Deprecated type, use Message instead.

typedef Message UserDefinedMessage
 Deprecated type, use Message instead.

typedef std::list< MessageHandleMessageHandleList
typedef ThreadSafeQueue< MessageHandle,
std::vector< MessageHandle >,
laterTime
MessageHandleQueue
typedef std::list< PslConstraint * > PslConstraintList
typedef std::list< PslArgument * > PslArgumentList
typedef std::map< int, PslArgument * > Int2PslArgumentMap
typedef std::vector< PslArgument * > PslArgumentVector
typedef std::list< PslParameter * > PslParameterList
typedef std::vector< PslParameter * > PslParameterVector
typedef std::map< int, PslParameter * > Int2PslParameterMap
typedef std::list< PslAttribute * > PslAttributeList
typedef std::set< PslAttribute * > PslAttributeSet
typedef std::map< int, PslConstraint * > Int2PslConstraintMap
typedef std::map< int, int > Int2IntMap
typedef std::list< PslObjectClass * > PslObjectClassList
typedef std::list< PslObject * > PslObjectList
typedef std::set< PslObject * > PslObjectSet
typedef std::list< PslPredicate * > PslPredicateList
typedef std::set< PslPredicate * > PslPredicateSet
typedef std::vector< PslPredicate * > PslPredicateVector
typedef std::map< std::string,
PslPredicate * > 
String2PslPredicateMap
typedef std::list< PslTimeline * > PslTimelineList
typedef std::set< const PslTimeline * > PslTimelineSet
typedef std::list< PslToken * > PslTokenList
typedef std::set< PslToken * > PslTokenSet
typedef std::list< PslVariable * > PslVariableList
typedef std::map< std::string,
PslObjectClass * > 
String2ObjectClassMap
typedef std::list< ResponseBase * > ResponseBaseList
 List of Response instances, constitutes one reply to an incomming (start)-message as it can send multiple values before sending a status back.

typedef ACE_Thread_Mutex ThreadMutex
 Datastructure for locking threads.

typedef ACE_Recursive_Thread_Mutex RecursiveThreadMutex
 Datastructure for locking threads recursively that are in the same thread.

typedef ACE_Process_Mutex ProcessMutex
 Datastructure for locking threads that are in the same process.

typedef ACE_Thread_Semaphore ThreadSemaphore
 Datastructure for a thread semaphore.

typedef ACE_Process_Semaphore ProcessSemaphore
 Datastructure for a process semaphore.

typedef timeval ideaTimeVal
 Introduced to resolve namespace clashes.

typedef std::list< std::string > StringList
 STL list of type std::string.

typedef std::set< std::string > StringSet
 STL set of type std::string.

typedef std::vector< std::string > StringVector
 STL vector of type std::string.

typedef std::list< int > IntList
 STL list of type int.

typedef std::vector< int > IntVector
 STL vector of type int.

typedef std::set< int > IntSet
 STL set of type int.

typedef std::list< double > DoubleList
 STL list of type double.

typedef EUROPA::Id< ActiveTokenDecisionPointActiveTokenDecisionPointId
typedef EUROPA::Id< GoalTokenDecisionGoalTokenDecisionId
typedef ACE_Malloc_T< ACE_SHARED_MEMORY_POOL,
ProcessMutex, ACE_PI_Control_Block > 
SharedMemoryAllocator
typedef std::multimap< Time,
int, EarliestTimeFirst
Time2IntMap

Enumerations

enum  HorizonSetting { INFINITE = 0, PLUS_ONE_TICK, CUSTOM }
enum  PslArgumentType {
  CALL, MODE, RETURN, RETURN_FLAG,
  RETURN_STATUS, RETURN_STATUS_FLAG
}
enum  PslSelectorType { SUCCESSOR_SELECTOR, NORMAL_SELECTOR }
enum  PslConstantType { DURATION = 0, NUMERIC }
 Type of constant. More...

enum  PslDataType {
  INVALID = 0, INT, REAL, BOOL,
  LABEL, OBJECT, TIMELINE, OTHER,
  STRING
}
 Different types used to specify the type stored in PslDomain instance. More...

enum  PslErrorNumber {
  PslUnknown = 0, PslNoImpl, PslTypeUnknown, PslNotImplemented,
  PslSingletonNotSet, PslVariableInvalid, PslVariableTypeMismatch, PslVariableNotSingleton,
  PslVariableEmpty, PslStringEmpty, PslNullPointer, PslIllegalOperation,
  PslConvention, PslLoadModel, PslAlreadyExists, PslModelMismatch,
  PslBounderyCondition, PslInputError
}
 Errors that can happen in the PlanServer. More...

enum  FreeStrategy { RELAX = 0, DELETE }
enum  StatusType {
  OK = 0, command_line_err, underspec_flaw, returnValue_flaw,
  markTokensStarted_flaw, finalizeTokens_flaw, refineTimes_flaw, controllerTimeout_err,
  plannerTimeout_err, plannerExhausted_err, timer_err, internal_err,
  propagation_err, timeline_gap_err, timeline_end_err, ace_err,
  deliberation_complete, deliberation_incomplete, deliberation_failure, mutex_failure,
  aborted, unknown_status
}
 Type to indicate the state of system. More...

enum  Granularity {
  SECONDS = 0, DECI_SECONDS = 1, CENTI_SECONDS = 2, MILLI_SECONDS = 3,
  MICRO_SECONDS = 6, NANO_SECONDS = 9
}
 Type for granulity of time representation in the XIDDL model, see Agent Latency and Time Units. More...


Functions

const std::string & getAgentName ()
 Returns the agent name.

Time getElapsedTime ()
 Returns the elapsed time.

Time getCurrentTime ()
 Returns the current (simulated) time.

Time getCurrentTick ()
 Returns the current tick.

std::ostream & operator<< (std::ostream &os, const Message::Type &type)
std::ostream & operator<< (std::ostream &os, const MessageDataBase &data)
std::ostream & operator<< (std::ostream &os, const StartMessageData &data)
std::ostream & operator<< (std::ostream &os, const ValueMessageData &data)
std::ostream & operator<< (std::ostream &os, const StatusMessageData &data)
std::ostream & operator<< (std::ostream &os, const StopMessageData &data)
std::ostream & operator<< (std::ostream &os, const TelemetryMessageData &data)
std::ostream & operator<< (std::ostream &os, const MessageHandle &message)
std::ostream & operator<< (std::ostream &os, const ObjectMessageData &data)
std::ostream & operator<< (std::ostream &os, PlanReader::TokenData const &token)
std::ostream & operator<< (std::ostream &os, PlanReader::EndsBeforeStartConstraint const &constraint)
std::ostream & operator<< (std::ostream &os, PlanReader::ObjectToTimelines const &planBranch)
ostream & operator<< (ostream &os, BranchPoint const *branch)
ostream & operator<< (ostream &os, TimeBranch const *branch)
ostream & operator<< (ostream &os, TrackingBranch const *branch)
std::ostream & operator<< (std::ostream &os, const HorizonSetting &hs)
std::ostream & operator<< (std::ostream &os, const PslArgumentType &type)
std::ostream & operator<< (std::ostream &os, const PslSelectorType &type)
std::ostream & operator<< (std::ostream &os, const PslConstantType &type)
std::ostream & operator<< (std::ostream &os, const PslConstraint &cnstr)
std::ostream & operator<< (std::ostream &os, const PslDatabase &db)
std::ostream & operator<< (std::ostream &os, const PslDataType &dt)
std::ostream & operator<< (std::ostream &os, const PslDomain &domain)
std::string serializeCallParameters (const PslToken *token, bool enforceSingleton=true)
 Takes a PslToken instance token and will serialize the call-parameters of that token into a string. Returns the string with marshalled data.

bool unSerializeCallParameters (const PslToken *token, const std::string &archive, bool enforceSingleton=true)
std::ostream & operator<< (std::ostream &os, const PslLabelSet &ls)
std::ostream & operator<< (std::ostream &os, const PslObject &object)
std::ostream & operator<< (std::ostream &os, const PslParameter &parameter)
Time convertToTime (int t)
 Converts an integer t to a Time instance by invoking the PslTimeConverter instance.

int convertToInt (const Time &t)
 Converts a Time t to an integer by invoking the PslTimeConverter instance.

std::ostream & operator<< (std::ostream &os, const PslTimeline &tl)
std::ostream & operator<< (std::ostream &os, const PslToken &token)
std::ostream & operator<< (std::ostream &os, const PslTrueFalseVariable &variable)
template<class Type> bool isTypeNumeric ()
std::ostream & operator<< (std::ostream &os, const PslVariable &variable)
 Overloads operator<< to handle PslVariable instances.

template<typename Key, typename Type> Type * getValue (const Key &key, const std::map< Key, Type * > &container)
template<typename Key, typename Type> void deleteContent (std::map< Key, Type * > &container)
template<class Type> bool parseType (std::istringstream &stringStream, Type &type)
 Helper function to parse any (streamable) type into stringStream.

template<> bool parseType (std::istringstream &stringStream, std::string &buffer)
 Template specialization for parseType for type std::string.

void freeargv (char **vector)
char ** copyArgv (int argc, char **argv)
std::ostream & operator<< (std::ostream &os, const CommandLineParser::Option &option)
bool loadModules (const std::string &fileName)
 Takes module configuration file fileName and will load all the modules defined in the file. Will return true if all modules can be loaded succesfully otherwise returns false.

template<class LOCK> void acquire (LOCK &lock, const std::string &locator)
 Function to acquire a lock on the LOCK.

template<class LOCK> void release (LOCK &lock, const std::string &locator)
 Function to release a lock on the LOCK.

std::ostream & operator<< (std::ostream &os, const Granularity &g)
Time operator+ (const Time &tv1, const Time &tv2)
 Adds two Time objects together, returns the sum.

Time operator- (const Time &tv1, const Time &tv2)
 Subtracts two ACE_Time_Value objects, returns the difference.

bool operator< (const Time &tv1, const Time &tv2)
 True if tv1 < tv2.

bool operator> (const Time &tv1, const Time &tv2)
 True if tv1 > tv2.

bool operator<= (const Time &tv1, const Time &tv2)
 True if tv1 <= tv2.

bool operator>= (const Time &tv1, const Time &tv2)
 True if tv1 >= tv2.

bool operator== (const Time &tv1, const Time &tv2)
 True if tv1 == tv2.

bool operator!= (const Time &tv1, const Time &tv2)
 True if tv1 != tv2.

Time operator * (double d, const Time &tv)
 Multiplies the time value by d.

Time operator * (const Time &tv, double d)
 Multiplies the time value by d.

std::ostream & operator<< (std::ostream &os, const Time &t)
std::ostream & operator<< (std::ostream &os, const TokenLocation &location)
std::ostream & operator<< (std::ostream &os, const Trace::OutputLevel &level)
std::ostream & operator<< (std::ostream &os, const IntSet &is)
 Streams the container in human readable format to os.

std::ostream & operator<< (std::ostream &os, const StringSet &ss)
 Streams the container in human readable format to os.

std::ostream & operator<< (std::ostream &os, const StringList &ss)
 Streams the container in human readable format to os.

std::ostream & operator<< (std::ostream &os, const StringVector &ss)
 Streams the container in human readable format to os.

void * loadSharedLibrary (const std::string &fileName)
 Loads the shared library fileName.

template<class Type> std::string toString (Type &t)
 Converts a value of type Type to a string.

template<> std::string toString (double &t)
 Template specialization of toString for type double. It sets the precision to 12.

template<> std::string toString (bool &t)
 Template specialization of toString for type bool. Puts bool values in alphabetic format.

template<> std::string toString (StatusType &t)
 Template specialization of toString for type StatusType. Converts the status type to a human understandable string.

template<class Type> Type toValue (const std::string &st)
 Template specialization for type bool of toValue.

bool toBool (const std::string &st)
bool readPlannerArg (std::string &arglist, std::string &arg)
 Takes a comma deliminated string argList and will populate arg with the first field if any and will remove this field from arglist. If no first field exists the function will return false otherwise it will return true.

void removeTrailingBlanks (std::string &text)
 Takes a string \text and will remove any white spaces at the back of the string.

void removeLeadingBlanks (std::string &text)
 Takes a string \text and will remove any white spaces at the front of the string.

bool findString (const std::string &text, const char *pattern)
 Returns true if pattern can be found in text. Otherwise returns false.

bool findLeadingString (const std::string &text, const char *pattern)
 Returns true if text starts with pattern otherwise returns false.

bool doesFileExist (const std::string &name)
 Returns true if the file name exists, otherwise returns false.

char * copyString (const char *str)
 Copies str and returns the copy.

std::string boolToString (bool value)
std::string printStatus (const StatusType &status)
std::string createStdString (const char *charPtr)
int * convertIntSet (const IntSet &integers)
IntSet convertIntArray (int *intArray, int size)
void IPCReceiveStart (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveStop (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveStatus (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveValue (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveObject (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveTelemetry (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveWarp (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveSync (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
void IPCReceiveRegister (MSG_INSTANCE msgRef, BYTE_ARRAY callData, void *ptr)
template<class Type> Type toTypeValue (const std::string &st)
std::ostream & operator<< (std::ostream &os, const EUROPA::Id< PlasmaVariableDecisionPoint > &dp)
bool getEntityNames (const std::string &timelineName, std::string &objectClassName, std::string &attributeName)
 The EUROPA DDL converter to NDDL merges Objects and Attributes to a single entity with the name <object>_Class___<arttribute>. This method takes the name of the merged object and splits them back into <object> name (objectClassName) and <attribute> (attributeName).

std::string getElement (int index, const std::string &delimiter, const std::string &orig)
std::string chopXIDDL2NDDLConverterArgumentPreFix (const std::string &name)
 The XIDDL to DDL to NDDL converter path using the EUROPA DDL to NDDL converter puts a prefix __DDL__ in front of some reserved argument names of a predicate. This function will return the name without such prefix if name is one of the reserveded words with the prefix otherwise returns the original name. Does not check if the name is actually reserved it just chops of __DDL__ if such prefix is there.

void printNode (DOMNode const *node, int index=0)

Variables

const std::string SEND_START_PREFIX = "SEND_START"
const std::string RECV_START_PREFIX = "RECV_START"
const std::string SEND_STOP_PREFIX = "SEND_STOP"
const std::string RECV_STOP_PREFIX = "RECV_STOP"
const std::string SEND_VALUE_PREFIX = "SEND_VALUE"
const std::string RECV_VALUE_PREFIX = "RECV_VALUE"
const std::string SEND_STATUS_PREFIX = "SEND_STATUS"
const std::string RECV_STATUS_PREFIX = "RECV_STATUS"
const std::string SEND_TELEMETRY_PREFIX = "SEND_TELEMETRY"
const std::string RECV_TELEMETRY_PREFIX = "RECV_TELEMETRY"
const std::string SEND_USERDEF_PREFIX = "SEND_USERDEF"
const std::string RECV_USERDEF_PREFIX = "RECV_USERDEF"
const std::string XIDDL_DURATION_CONSTANT = "define_duration_constant"
const char * XIDDL_AGENTS_TAG = "agents"
const char * XIDDL_AGENT_LATENCY_TAG = "agent_latency"
const char * XIDDL_ATTRIBUTE_TAG = "attr"
const char * XIDDL_ARGUMENT_TAG = "arg"
const char * XIDDL_CALL_ARGUMENTS_TAG = "call_args"
const char * XIDDL_CLASS_TAG = "class"
const char * XIDDL_CHANNEL_TAG = "channel"
const char * XIDDL_DEFINE_AGENT_TAG = "define_agent"
const char * XIDDL_DEFINE_DURATION_CONSTANT_TAG = "define_duration_constant"
const char * XIDDL_DEFINE_LABEL_SET_TAG = "define_label_set"
const char * XIDDL_DEFINE_MEMBER_VALUES_TAG = "define_member_values"
const char * XIDDL_DEFINE_NUMERIC_CONSTANT_TAG = "define_numeric_constant"
const char * XIDDL_DEFINE_OBJECT_CLASS_TAG = "define_object_class"
const char * XIDDL_DEFINE_PROCEDURE_TAG = "define_procedure"
const char * XIDDL_FLAG_TAG = "flag"
const char * XIDDL_INITIAL_COMMUNICATION_CHANNELS_TAG = "initial_communication_channels"
const char * XIDDL_INITIAL_SUBSYSTEMS_TAG = "initial_subsystems"
const char * XIDDL_INTERNAL_MODES_TAG = "internal_modes"
const char * XIDDL_INTERNAL_PROCESSES_TAG = "internal_processes"
const char * XIDDL_LOWERBOUND_TAG = "lb"
const char * XIDDL_MODE_TAG = "mode"
const char * XIDDL_NAME_TAG = "name"
const char * XIDDL_OBJECT_TAG = "object"
const char * XIDDL_OBJECTS_TAG = "objects"
const char * XIDDL_PREDICATE_TAG = "pred"
const char * XIDDL_PROCEDURES_TAG = "procedures"
const char * XIDDL_PROCEDURE_USING_CPU = "procedure_using_cpu"
const char * XIDDL_PROCESS_TAG = "process"
const char * XIDDL_RANGE_TAG = "range"
const char * XIDDL_RELAY_TAG = "relay"
const char * XIDDL_RETURN_ARGUMENTS_TAG = "return_args"
const char * XIDDL_RETURN_STATUS_TAG = "return_status"
const char * XIDDL_SHUTDOWN_PROCEDURE_TAG = "shutdown_procedure"
const char * XIDDL_SUBSYSTEM_TAG = "subsystem"
const char * XIDDL_TARGET_TAG = "target"
const char * XIDDL_TIME_UNIT_TAG = "time_unit"
const char * XIDDL_TYPE_TAG = "type"
const char * XIDDL_UPPERBOUND_TAG = "ub"
const char * XIDDL_VALUE_TAG = "value"
const char * XIDDL_XIDDL_TAG = "xiddl"
const char * XIDDL_BOOLEAN_VALUE = "Boolean"
const char * XIDDL_CENTI_SECONDS_VALUE = "centi_seconds"
const char * XIDDL_DECI_SECONDS_VALUE = "deci_seconds"
const char * XIDDL_DYNAMIC_LABEL_SET_TYPE_VALUE = "dynamic-label-type"
const char * XIDDL_DYNAMIC_TAG = "dynamic"
const char * XIDDL_EXECUTABLE_VALUE = "executable"
const char * XIDDL_GOAL_VALUE = "goal"
const char * XIDDL_INTEGER_VALUE = "Integer"
const char * XIDDL_MICRO_SECONDS_VALUE = "micro_seconds"
const char * XIDDL_MILLI_SECONDS_VALUE = "milli_seconds"
const char * XIDDL_REAL_VALUE = "Real"
const char * XIDDL_SECONDS_VALUE = "seconds"
const char * XIDDL_STRING_VALUE = "String"
const char * XIDDL_SUCCESSOR_SELECTOR_VALUE = "successor_selector"
const char * XIDDL_SYMBOL_VALUE = "Symbol"
const char * argSeparators = ", "
RegisterReactivePlanner registerReactivePlanner
std::string UNKNOWN = "UNKNOWN"
 Variable to identify an unknown value.

const char * externalWhitespace = " \t\v\f\r\n"
const char * internalWhitespace = " \t"
RegisterIPCRelay registerIPCRelay
PlasmaAgentFactory plasmaAgentFactory
PlasmaPlannerFactory thePlasmaPlannerFactory
const std::string ATTRIBUTE_CLASS_SUFFIX = "___"
const std::string PLASMA_DELIMITER = "."
const std::string ARGUMENT_PREFIX = "__DDL__"
PlasmaFactory plasmaFactory
PlasmaReactivePlannerFactory plasmaReactivePlannerFactory
SharedTimingServiceFactory sharedTimingServiceFactory
XercesModelLoaderFactory xercesModelLoaderFactory
Time2IntMap g_EventTimerMap


Detailed Description

Author:
David Rijsman rijsman@email.arc.nasa.gov


Typedef Documentation

typedef EUROPA::Id<ActiveTokenDecisionPoint> IDEA::ActiveTokenDecisionPointId
 

typedef EUROPA::Id<GoalTokenDecision> IDEA::GoalTokenDecisionId
 

typedef std::map< int, int > IDEA::Int2IntMap
 

typedef std::map< int, PslArgument* > IDEA::Int2PslArgumentMap
 

typedef std::map< int, PslConstraint* > IDEA::Int2PslConstraintMap
 

typedef std::map< int, PslParameter* > IDEA::Int2PslParameterMap
 

typedef std::list< MessageData* > IDEA::MessageDataList
 

typedef std::list< MessageHandle > IDEA::MessageHandleList
 

typedef ThreadSafeQueue<MessageHandle, std::vector< MessageHandle >, laterTime > IDEA::MessageHandleQueue
 

Priority queue of MessageHandle in containter type vector and highest priority is the message with the earliest time. Message with earliest time will be at the top.

typedef Message IDEA::ObjectMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef std::list< PslArgument* > IDEA::PslArgumentList
 

typedef std::vector< PslArgument* > IDEA::PslArgumentVector
 

typedef std::list< PslAttribute* > IDEA::PslAttributeList
 

typedef std::set< PslAttribute* > IDEA::PslAttributeSet
 

typedef std::list< PslConstraint * > IDEA::PslConstraintList
 

typedef std::list< PslObjectClass* > IDEA::PslObjectClassList
 

typedef std::list< PslObject* > IDEA::PslObjectList
 

typedef std::set< PslObject* > IDEA::PslObjectSet
 

typedef std::list< PslParameter* > IDEA::PslParameterList
 

typedef std::vector< PslParameter* > IDEA::PslParameterVector
 

typedef std::list< PslPredicate* > IDEA::PslPredicateList
 

typedef std::set< PslPredicate* > IDEA::PslPredicateSet
 

typedef std::vector< PslPredicate* > IDEA::PslPredicateVector
 

typedef std::list< PslTimeline* > IDEA::PslTimelineList
 

typedef std::set< const PslTimeline* > IDEA::PslTimelineSet
 

typedef std::list< PslToken* > IDEA::PslTokenList
 

typedef std::set< PslToken* > IDEA::PslTokenSet
 

typedef std::list< PslVariable* > IDEA::PslVariableList
 

typedef std::list< ResponseBase* > IDEA::ResponseBaseList
 

List of Response instances, constitutes one reply to an incomming (start)-message as it can send multiple values before sending a status back.

typedef ACE_Malloc_T< ACE_SHARED_MEMORY_POOL, ProcessMutex, ACE_PI_Control_Block > IDEA::SharedMemoryAllocator
 

typedef Message IDEA::StartMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef Message IDEA::StatusMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef Message IDEA::StopMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef std::map< std::string, PslObjectClass* > IDEA::String2ObjectClassMap
 

typedef std::map< std::string, PslPredicate* > IDEA::String2PslPredicateMap
 

typedef Message IDEA::TelemetryMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef std::multimap< Time, int, EarliestTimeFirst> IDEA::Time2IntMap
 

typedef Message IDEA::UserDefinedMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message

typedef Message IDEA::ValueMessage
 

Deprecated type, use Message instead.

Deprecated:
use Message


Enumeration Type Documentation

enum IDEA::FreeStrategy
 

Enumeration values:
RELAX 
DELETE  Freeing a token will delete the token (permitting other settings).

enum IDEA::HorizonSetting
 

Enumeration values:
INFINITE 
PLUS_ONE_TICK  The planning horizon is current-tick to infinity.
CUSTOM  The planning horizon setting is cutomized.

enum IDEA::PslSelectorType
 

Enumeration values:
SUCCESSOR_SELECTOR  See successor selector
NORMAL_SELECTOR  See successor selector


Function Documentation

std::string boolToString bool    value
 

std::string IDEA::chopXIDDL2NDDLConverterArgumentPreFix const std::string &    name
 

The XIDDL to DDL to NDDL converter path using the EUROPA DDL to NDDL converter puts a prefix __DDL__ in front of some reserved argument names of a predicate. This function will return the name without such prefix if name is one of the reserveded words with the prefix otherwise returns the original name. Does not check if the name is actually reserved it just chops of __DDL__ if such prefix is there.

IntSet convertIntArray int *    intArray,
int    size
 

int* convertIntSet const IntSet   integers
 

int IDEA::convertToInt const Time   t
 

Converts a Time t to an integer by invoking the PslTimeConverter instance.

Time IDEA::convertToTime int    t
 

Converts an integer t to a Time instance by invoking the PslTimeConverter instance.

char** copyArgv int    argc,
char **    argv
 

std::string createStdString const char *    charPtr
 

Helper function, after unmarshalling an empty char* becomes a null ptr and std::string constructor is not too happy about it.

template<typename Key, typename Type>
void IDEA::deleteContent std::map< Key, Type * > &    container
 

void freeargv char **    vector
 

const std::string & IDEA::getAgentName  
 

Returns the agent name.

Implemented as an extern so the utilities library will not be dependent on external libraries.

Time IDEA::getCurrentTick  
 

Returns the current tick.

Implemented as an extern so the utilities library will not be dependent on external libraries.

Time IDEA::getCurrentTime  
 

Returns the current (simulated) time.

Implemented as an extern so the utilities library will not be dependent on external libraries.

Time IDEA::getElapsedTime  
 

Returns the elapsed time.

Implemented as an extern so the utilities library will not be dependent on external libraries.

std::string IDEA::getElement int    index,
const std::string &    delimiter,
const std::string &    orig
 

template<typename Key, typename Type>
Type * IDEA::getValue const Key &    key,
const std::map< Key, Type * > &    container
 

void IPCReceiveObject MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a object message has been received

void IPCReceiveRegister MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

void IPCReceiveStart MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a start message has been received

void IPCReceiveStatus MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a status message has been received

void IPCReceiveStop MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a stop message has been received

void IPCReceiveSync MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

void IPCReceiveTelemetry MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a telemetry message has been received

void IPCReceiveValue MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

Local function invoked by IPC when a value message has been received

void IPCReceiveWarp MSG_INSTANCE    msgRef,
BYTE_ARRAY    callData,
void *    ptr
 

template<class Type>
bool isTypeNumeric  
 

Time IDEA::operator * const Time   tv,
double    d
 

Multiplies the time value by d.

Time IDEA::operator * double    d,
const Time   tv
 

Multiplies the time value by d.

bool IDEA::operator!= const Time   tv1,
const Time   tv2
 

True if tv1 != tv2.

Time IDEA::operator+ const Time   tv1,
const Time   tv2
 

Adds two Time objects together, returns the sum.

Time IDEA::operator- const Time   tv1,
const Time   tv2
 

Subtracts two ACE_Time_Value objects, returns the difference.

bool IDEA::operator< const Time   tv1,
const Time   tv2
 

True if tv1 < tv2.

std::ostream & IDEA::operator<< std::ostream &    os,
const EUROPA::Id< PlasmaVariableDecisionPoint > &    dp
 

std::ostream & IDEA::operator<< std::ostream &    os,
const Trace::OutputLevel   level
 

std::ostream & IDEA::operator<< std::ostream &    os,
const TokenLocation   location
 

std::ostream & IDEA::operator<< std::ostream &    os,
const Time   t
 

std::ostream & IDEA::operator<< std::ostream &    os,
const Granularity   g
 

std::ostream & IDEA::operator<< std::ostream &    os,
const CommandLineParser::Option   option
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslVariable   variable
 

Overloads operator<< to handle PslVariable instances.

std::ostream & IDEA::operator<< std::ostream &    os,
const PslTrueFalseVariable   variable
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslToken   token
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslTimeline   tl
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslParameter   parameter
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslObject   object
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslLabelSet   ls
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslDomain   domain
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslDataType   dt
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslDatabase   db
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslConstraint   cnstr
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslConstantType   type
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslSelectorType   type
 

std::ostream & IDEA::operator<< std::ostream &    os,
const PslArgumentType   type
 

std::ostream & IDEA::operator<< std::ostream &    os,
const HorizonSetting   hs
 

std::ostream & IDEA::operator<< std::ostream &    os,
IDEA::TrackingBranch const *    branch
 

std::ostream & IDEA::operator<< std::ostream &    os,
IDEA::TimeBranch const *    branch
 

std::ostream & IDEA::operator<< std::ostream &    os,
IDEA::BranchPoint const *    branch
 

std::ostream & IDEA::operator<< std::ostream &    os,
PlanReader::ObjectToTimelines const &    planBranch
 

ostream & IDEA::operator<< std::ostream &    os,
PlanReader::EndsBeforeStartConstraint const &    constraint
 

ostream & IDEA::operator<< std::ostream &    os,
PlanReader::TokenData const &    token
 

std::ostream& operator<< std::ostream &    os,
const ObjectMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const MessageHandle   message
 

std::ostream & IDEA::operator<< std::ostream &    os,
const TelemetryMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const StopMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const StatusMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const ValueMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const StartMessageData   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const MessageDataBase   data
 

std::ostream & IDEA::operator<< std::ostream &    os,
const Message::Type   type
 

bool IDEA::operator<= const Time   tv1,
const Time   tv2
 

True if tv1 <= tv2.

bool IDEA::operator== const Time   tv1,
const Time   tv2
 

True if tv1 == tv2.

bool IDEA::operator> const Time   tv1,
const Time   tv2
 

True if tv1 > tv2.

bool IDEA::operator>= const Time   tv1,
const Time   tv2
 

True if tv1 >= tv2.

void printNode DOMNode const *    node,
int    index = 0
 

std::string printStatus const StatusType   status
 

std::string IDEA::serializeCallParameters const PslToken   token,
bool    enforceSingleton = true
 

Takes a PslToken instance token and will serialize the call-parameters of that token into a string. Returns the string with marshalled data.

If enforceSingleton is true the call-parameters will have to be singletons otherwise the method will error out.

template<class Type>
Type toTypeValue const std::string &    st
 

bool IDEA::unSerializeCallParameters const PslToken   token,
const std::string &    archive,
bool    enforceSingleton = true
 

\breif Takes a std::string archive containing data of the call-parameters of token and will set the call-parameters to the value stored in archive.

If enforceSingleton is true the data in archive is such that the call-parameters should be set to a singleton

Returns true if the archive was successfully un-serialized otherwise returns false.


Variable Documentation

const char* IDEA::argSeparators = ", "
 

const std::string IDEA::ARGUMENT_PREFIX = "__DDL__"
 

const std::string IDEA::ATTRIBUTE_CLASS_SUFFIX = "___"
 

const char* IDEA::externalWhitespace = " \t\v\f\r\n" [static]
 

Time2IntMap IDEA::g_EventTimerMap
 

Cannot make it a class member variable since ACE shared memory and std mmap implementation don't seem to coordinate very well(causes core dump)

const char* IDEA::internalWhitespace = " \t" [static]
 

const std::string IDEA::PLASMA_DELIMITER = "."
 

PlasmaAgentFactory IDEA::plasmaAgentFactory [static]
 

PlasmaFactory IDEA::plasmaFactory [static]
 

PlasmaReactivePlannerFactory IDEA::plasmaReactivePlannerFactory [static]
 

const std::string IDEA::RECV_START_PREFIX = "RECV_START"
 

const std::string IDEA::RECV_STATUS_PREFIX = "RECV_STATUS"
 

const std::string IDEA::RECV_STOP_PREFIX = "RECV_STOP"
 

const std::string IDEA::RECV_TELEMETRY_PREFIX = "RECV_TELEMETRY"
 

const std::string IDEA::RECV_USERDEF_PREFIX = "RECV_USERDEF"
 

const std::string IDEA::RECV_VALUE_PREFIX = "RECV_VALUE"
 

RegisterIPCRelay IDEA::registerIPCRelay
 

RegisterReactivePlanner IDEA::registerReactivePlanner
 

const std::string IDEA::SEND_START_PREFIX = "SEND_START"
 

const std::string IDEA::SEND_STATUS_PREFIX = "SEND_STATUS"
 

const std::string IDEA::SEND_STOP_PREFIX = "SEND_STOP"
 

const std::string IDEA::SEND_TELEMETRY_PREFIX = "SEND_TELEMETRY"
 

const std::string IDEA::SEND_USERDEF_PREFIX = "SEND_USERDEF"
 

const std::string IDEA::SEND_VALUE_PREFIX = "SEND_VALUE"
 

SharedTimingServiceFactory IDEA::sharedTimingServiceFactory [static]
 

PlasmaPlannerFactory IDEA::thePlasmaPlannerFactory [static]
 

XercesModelLoaderFactory IDEA::xercesModelLoaderFactory [static]
 

const char* IDEA::XIDDL_AGENT_LATENCY_TAG = "agent_latency"
 

const char* IDEA::XIDDL_AGENTS_TAG = "agents"
 

const char* IDEA::XIDDL_ARGUMENT_TAG = "arg"
 

const char* IDEA::XIDDL_ATTRIBUTE_TAG = "attr"
 

const char* IDEA::XIDDL_BOOLEAN_VALUE = "Boolean"
 

const char* IDEA::XIDDL_CALL_ARGUMENTS_TAG = "call_args"
 

const char* IDEA::XIDDL_CENTI_SECONDS_VALUE = "centi_seconds"
 

const char* IDEA::XIDDL_CHANNEL_TAG = "channel"
 

const char* IDEA::XIDDL_CLASS_TAG = "class"
 

const char* IDEA::XIDDL_DECI_SECONDS_VALUE = "deci_seconds"
 

const char* IDEA::XIDDL_DEFINE_AGENT_TAG = "define_agent"
 

const char* IDEA::XIDDL_DEFINE_DURATION_CONSTANT_TAG = "define_duration_constant"
 

const char* IDEA::XIDDL_DEFINE_LABEL_SET_TAG = "define_label_set"
 

const char* IDEA::XIDDL_DEFINE_MEMBER_VALUES_TAG = "define_member_values"
 

const char* IDEA::XIDDL_DEFINE_NUMERIC_CONSTANT_TAG = "define_numeric_constant"
 

const char* IDEA::XIDDL_DEFINE_OBJECT_CLASS_TAG = "define_object_class"
 

const char* IDEA::XIDDL_DEFINE_PROCEDURE_TAG = "define_procedure"
 

const std::string IDEA::XIDDL_DURATION_CONSTANT = "define_duration_constant"
 

const char* IDEA::XIDDL_DYNAMIC_LABEL_SET_TYPE_VALUE = "dynamic-label-type"
 

const char* IDEA::XIDDL_DYNAMIC_TAG = "dynamic"
 

const char* IDEA::XIDDL_EXECUTABLE_VALUE = "executable"
 

const char* IDEA::XIDDL_FLAG_TAG = "flag"
 

const char* IDEA::XIDDL_GOAL_VALUE = "goal"
 

const char* IDEA::XIDDL_INITIAL_COMMUNICATION_CHANNELS_TAG = "initial_communication_channels"
 

const char* IDEA::XIDDL_INITIAL_SUBSYSTEMS_TAG = "initial_subsystems"
 

const char* IDEA::XIDDL_INTEGER_VALUE = "Integer"
 

const char* IDEA::XIDDL_INTERNAL_MODES_TAG = "internal_modes"
 

const char* IDEA::XIDDL_INTERNAL_PROCESSES_TAG = "internal_processes"
 

const char* IDEA::XIDDL_LOWERBOUND_TAG = "lb"
 

const char* IDEA::XIDDL_MICRO_SECONDS_VALUE = "micro_seconds"
 

const char* IDEA::XIDDL_MILLI_SECONDS_VALUE = "milli_seconds"
 

const char* IDEA::XIDDL_MODE_TAG = "mode"
 

const char* IDEA::XIDDL_NAME_TAG = "name"
 

const char* IDEA::XIDDL_OBJECT_TAG = "object"
 

const char* IDEA::XIDDL_OBJECTS_TAG = "objects"
 

const char* IDEA::XIDDL_PREDICATE_TAG = "pred"
 

const char* IDEA::XIDDL_PROCEDURE_USING_CPU = "procedure_using_cpu"
 

const char* IDEA::XIDDL_PROCEDURES_TAG = "procedures"
 

const char* IDEA::XIDDL_PROCESS_TAG = "process"
 

const char* IDEA::XIDDL_RANGE_TAG = "range"
 

const char* IDEA::XIDDL_REAL_VALUE = "Real"
 

const char* IDEA::XIDDL_RELAY_TAG = "relay"
 

const char* IDEA::XIDDL_RETURN_ARGUMENTS_TAG = "return_args"
 

const char* IDEA::XIDDL_RETURN_STATUS_TAG = "return_status"
 

const char* IDEA::XIDDL_SECONDS_VALUE = "seconds"
 

const char* IDEA::XIDDL_SHUTDOWN_PROCEDURE_TAG = "shutdown_procedure"
 

const char* IDEA::XIDDL_STRING_VALUE = "String"
 

const char* IDEA::XIDDL_SUBSYSTEM_TAG = "subsystem"
 

const char* IDEA::XIDDL_SUCCESSOR_SELECTOR_VALUE = "successor_selector"
 

const char* IDEA::XIDDL_SYMBOL_VALUE = "Symbol"
 

const char* IDEA::XIDDL_TARGET_TAG = "target"
 

const char* IDEA::XIDDL_TIME_UNIT_TAG = "time_unit"
 

const char* IDEA::XIDDL_TYPE_TAG = "type"
 

const char* IDEA::XIDDL_UPPERBOUND_TAG = "ub"
 

const char* IDEA::XIDDL_VALUE_TAG = "value"
 

const char* IDEA::XIDDL_XIDDL_TAG = "xiddl"
 


Contact information
© IDEA
Generated on Fri Feb 3 17:09:44 2006 for IDEA.