Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F59551945
Supervisor.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Apr 23, 11:18
Size
955 B
Mime Type
text/x-c++
Expires
Thu, Apr 25, 11:18 (2 d)
Engine
blob
Format
Raw Data
Handle
17209016
Attached To
R6622 liboncilla
Supervisor.h
View Options
/*
* Supervisor.h
*
* Created on: Jan 21, 2013
* Author: tuleu
*/
#ifndef SUPERVISOR_H_
#define SUPERVISOR_H_
#include <liboncilla/nodes/SupervisorNodes.h>
#include "common.h"
#include <tr1/memory>
#include <vector>
class
OncillaBackend
;
namespace
rci
{
namespace
oncilla
{
class
Supervisor
{
public:
typedef
boost
::
shared_ptr
<
rci
::
oncilla
::
Supervisor
>
Ptr
;
Supervisor
(
OncillaBackend
&
backend
);
virtual
~
Supervisor
();
const
SupervisorTrunk
::
Ptr
&
getTrunk
();
const
SupervisorL4
::
Ptr
&
getL4
(
Leg
l
);
const
SupervisorWorld
::
Ptr
&
getWorld
();
private:
typedef
std
::
tr1
::
shared_ptr
<
std
::
runtime_error
>
RuntimeErrPtr
;
typedef
std
::
vector
<
RuntimeErrPtr
>
ListOfError
;
std
::
vector
<
SupervisorL4
::
Ptr
>
d_l4s
;
ListOfError
d_l4Errors
;
SupervisorTrunk
::
Ptr
d_trunk
;
RuntimeErrPtr
d_trunkError
;
SupervisorWorld
::
Ptr
d_world
;
RuntimeErrPtr
d_worldError
;
};
}
/* namespace oncilla */
}
/* namespace rci */
#endif
/* SUPERVISOR_H_ */
Event Timeline
Log In to Comment