Exemplo n.º 1
0
        public void SubscriptionInit()
        {
            rcl_context_t context     = new rcl_context_t();
            rcl_node_t    node        = new rcl_node_t();
            IntPtr        nodeOptions = new IntPtr();

            RCLInitialize.InitRcl(ref context);
            NodeInitialize.InitNode(ref node, nodeOptions, ref context);

            rcl_subscription_t subscription        = new rcl_subscription_t();
            IntPtr             subscriptionOptions = new IntPtr();

            InitSubscription(ref subscription, subscriptionOptions, ref node);
            ShutdownSubscription(ref subscription, subscriptionOptions, ref node);

            NodeInitialize.ShutdownNode(ref node, nodeOptions);
            RCLInitialize.ShutdownRcl(ref context);
        }
Exemplo n.º 2
0
 public void TearDown()
 {
     RCLInitialize.ShutdownRcl(ref context);
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     RCLInitialize.InitRcl(ref context);
 }
Exemplo n.º 4
0
 public void TearDown()
 {
     NodeInitialize.ShutdownNode(ref node, nodeOptions);
     RCLInitialize.ShutdownRcl(ref context);
 }
Exemplo n.º 5
0
 public void SetUp()
 {
     RCLInitialize.InitRcl(ref context);
     NodeInitialize.InitNode(ref node, nodeOptions, ref context);
 }
Exemplo n.º 6
0
 public void SetUp()
 {
     RCLInitialize.InitRcl(ref context);
     NodeInitialize.InitNode(ref node, nodeOptions, ref context);
     SubscriptionInitialize.InitSubscription(ref subscription, subscriptionOptions, ref node);
 }